package org.apache.commons.httpclient;

import java.io.Serializable;
import org.apache.commons.httpclient.util.LangUtils;

public class NameValuePair
  implements Serializable
{
  private String name;
  private String value;

  public NameValuePair()
  {
    this(null, null);
  }

  public NameValuePair(String paramString1, String paramString2)
  {
    this.name = null;
    this.value = null;
    this.name = paramString1;
    this.value = paramString2;
  }

  public boolean equals(Object paramObject)
  {
    if (paramObject == null);
    for (int i = 0; ; i = 0)
      while (true)
      {
        return i;
        if (this == paramObject)
          i = 1;
        if (!(paramObject instanceof NameValuePair))
          break;
        NameValuePair localNameValuePair = (NameValuePair)paramObject;
        if ((LangUtils.equals(this.name, localNameValuePair.name)) && (LangUtils.equals(this.value, localNameValuePair.value)))
          i = 1;
        i = 0;
      }
  }

  public String getName()
  {
    return this.name;
  }

  public String getValue()
  {
    return this.value;
  }

  public int hashCode()
  {
    return LangUtils.hashCode(LangUtils.hashCode(17, this.name), this.value);
  }

  public void setName(String paramString)
  {
    this.name = paramString;
  }

  public void setValue(String paramString)
  {
    this.value = paramString;
  }

  public String toString()
  {
    return "name=" + this.name + ", " + "value=" + this.value;
  }
}

/* Location:           E:\Desktop\Android\wordstd\classes_dex2jar.jar
 * Qualified Name:     org.apache.commons.httpclient.NameValuePair
 * JD-Core Version:    0.5.3
 */